package com.colorful.insuranceproject.bean;

/**
 * Created by handsome-Bob on 2017/6/27.
 * <p>
 * 微信支付需要的参数
 */
public class WeChatPayBean {

    private String out_trade_no;//":"149861679841188015a1", "
    private String notify_url;// "http:\/\/apibeta.colorfulflorist.com\/app\/payments\/weixinnotify.html",
    private String trade_type;//"APP",
    private String body;//":"支付订单费用", "
    private String total_fee;//":1, "
    private String appid;//":"wx5ffbca83e09517a8", "
    private String mch_id;//":"1483268122", "
    private String spbill_create_ip;//":"127.0.0.1", "
    private String nonce_str;//":hnldjf9us3btpa1d0zs7c8pwyj21yhjw", "

    private String sign;//":"0704372C44EC24F5DBCFD6DC1C63B0C0", "
    private String partnerid;//":1483268122", "
    private String prepayid;//":"wx20170628102638db1efb6d440766577450", "
    private String noncestr;//":"hnldjf9us3btpa1d0zs7c8pwyj21yhjw", "
    private String timestamp;//":"1498616798"
//    tn :
// alipay_sdk=alipay-sdk-java-dynamicVersionNo&
// app_id=2017032006298635&
// biz_content=%7B%22body%22%3A%22%E9%A3%9E%E8%9C%97%22%2C%22out_trade_no%22%3A%22201703221019000185661%22%2C%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%2C%22subject%22%3A%22%E5%8F%82%E5%8A%A0%E4%BB%BB%E5%8A%A1%22%2C%22timeout_express%22%3A%2230m%22%2C%22total_amount%22%3A%222100%22%7D&
// charset=utf-8&
// format=json&
// method=alipay.trade.app.pay&
// notify_url=http%3A%2F%2F118.178.92.94%2Fworm%2Fpaycontroller%2Falipayreturn.controller&
// sign=DFf8tzagYqJT7hEBv096dL72XzC6bKIUxyBszjq37ktDbqdUH3VaCJZDBYDMXs4iZFse5sUiMo47rbnlUyAN%2BRAg0DacjUp2%2F9UXPLi1Q4uNHiDOTm4mAQ6xhy36cfPRmw0mNqeHVpx2wHhXWJJJNtJsZKBHBQMc%2FW22%2FS%2F46jE%3D&
// sign_type=RSA&
// timestamp=2017-03-22+10%3A19%3A18&version=1.0&

    public WeChatPayBean() {
    }

    public WeChatPayBean(String out_trade_no, String notify_url, String trade_type, String body, String total_fee, String appid, String mch_id, String spbill_create_ip, String nonce_str, String sign, String partnerid, String prepayid, String noncestr, String timestamp) {
        this.out_trade_no = out_trade_no;
        this.notify_url = notify_url;
        this.trade_type = trade_type;
        this.body = body;
        this.total_fee = total_fee;
        this.appid = appid;
        this.mch_id = mch_id;
        this.spbill_create_ip = spbill_create_ip;
        this.nonce_str = nonce_str;
        this.sign = sign;
        this.partnerid = partnerid;
        this.prepayid = prepayid;
        this.noncestr = noncestr;
        this.timestamp = timestamp;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getNotify_url() {
        return notify_url;
    }

    public void setNotify_url(String notify_url) {
        this.notify_url = notify_url;
    }

    public String getTrade_type() {
        return trade_type;
    }

    public void setTrade_type(String trade_type) {
        this.trade_type = trade_type;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getTotal_fee() {
        return total_fee;
    }

    public void setTotal_fee(String total_fee) {
        this.total_fee = total_fee;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getMch_id() {
        return mch_id;
    }

    public void setMch_id(String mch_id) {
        this.mch_id = mch_id;
    }

    public String getSpbill_create_ip() {
        return spbill_create_ip;
    }

    public void setSpbill_create_ip(String spbill_create_ip) {
        this.spbill_create_ip = spbill_create_ip;
    }

    public String getNonce_str() {
        return nonce_str;
    }

    public void setNonce_str(String nonce_str) {
        this.nonce_str = nonce_str;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getPartnerid() {
        return partnerid;
    }

    public void setPartnerid(String partnerid) {
        this.partnerid = partnerid;
    }

    public String getPrepayid() {
        return prepayid;
    }

    public void setPrepayid(String prepayid) {
        this.prepayid = prepayid;
    }

    public String getNoncestr() {
        return noncestr;
    }

    public void setNoncestr(String noncestr) {
        this.noncestr = noncestr;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    @Override
    public String toString() {
        return "WeChatPayBean{" +
                "out_trade_no='" + out_trade_no + '\'' +
                ", notify_url='" + notify_url + '\'' +
                ", trade_type='" + trade_type + '\'' +
                ", body='" + body + '\'' +
                ", total_fee='" + total_fee + '\'' +
                ", appid='" + appid + '\'' +
                ", mch_id='" + mch_id + '\'' +
                ", spbill_create_ip='" + spbill_create_ip + '\'' +
                ", nonce_str='" + nonce_str + '\'' +
                ", sign='" + sign + '\'' +
                ", partnerid='" + partnerid + '\'' +
                ", prepayid='" + prepayid + '\'' +
                ", noncestr='" + noncestr + '\'' +
                ", timestamp='" + timestamp + '\'' +
                '}';
    }
}
